<?php defined('InShopNC') or exit('Access Invalid!');?>

<div class="page">
  <div class="fixed-bar">
    <div class="item-title">
      <h3><?php echo $lang['channels_index'];?></h3>
      <?php echo $output['top_link'];?> </div>
  </div>
  <div class="fixed-empty"></div>
  <form id="channels_form" enctype="multipart/form-data" method="post">
    <input type="hidden" name="form_submit" value="ok" />
    <table class="table tb-type2">
      <tbody>
        <tr class="noborder">
          <td colspan="2" class="required"><label class="validation" for="cs_name">频道名称:</label></td>
        </tr>
        <tr class="noborder">
          <td class="vatop rowform"><input type="text" value="" name="cs_name" id="cs_name" maxlength="20" class="txt"></td>
          <td class="vatop tips">所填文字会在浏览器标题栏显示，在页面中程序会自动加上网站名称，最多20个字。</td>
        </tr>
        <tr>
          <td colspan="2" class="required"><label class="validation" for="cs_view_color">页面风格:</label></td>
        </tr>
        <tr class="noborder">
          <td class="vatop rowform"><span class="type-file-box">
            <input type="text" value="" name="cs_view_color" id="cs_view_color" maxlength="20" class="txt">
            </span></td>
          <td class="vatop tips">选择该频道的整体风格，与页面中的CSS配合使用。</td>
        </tr>
        <tr>
          <td colspan="2" class="required"><label  for="channels_seo_keyword">SEO关键字:</label></td>
        </tr>
        <tr class="noborder">
          <td class="vatop rowform"><span class="type-file-box">
            <input type="text" value="" name="cs_seo_keyword" id="channels_seo_keyword" maxlength="20" class="txt">
            </span></td>
          <td class="vatop tips"></td>
        </tr>
        <tr>
          <td colspan="2" class="required"><label  for="channels_seo_desc">SEO描述:</label></td>
        </tr>
        <tr class="noborder">
          <td class="vatop rowform"><span class="type-file-box">
            <input type="text" value="" name="cs_seo_desi" id="channels_seo_desc" maxlength="20" class="txt">
            </span></td>
          <td class="vatop tips"></td>
        </tr>
        <tr>
          <td colspan="2" class="required"><label  for="channels_seo_desc">启用状态:</label></td>
        </tr>
        <tr class="noborder">
          <td class="vatop rowform"><span class="type-file-box">
              <select name="cs_status" id="">
                <option value="1">是</option>
                <option value="0">否</option>
              </select>
            </span></td>
          <td class="vatop tips"></td>
        </tr>

      </tbody>
      <tfoot>
        <tr>
          <td colspan="2"><a href="JavaScript:void(0);" class="btn" id="submitBtn"><span><?php echo $lang['nc_submit'];?></span></a></td>
        </tr>
      </tfoot>
    </table>
  </form>
</div>
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/common_select.js" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/jquery.mousewheel.js"></script>
<script>
//按钮先执行验证再提交表单

  $("#submitBtn").click(function(){
    //if($("#channels_form").valid()){
      $("#channels_form").submit();
    });

</script>
